package com.bristua.tencent.rtc.sdk.room.business.dao;
import android.content.Context;
import android.support.annotation.NonNull;

import com.bristua.tencent.rtc.sdk.room.business.callback.IRtcLoginCallback;

import java.util.Map;

/**
 * @Author: richsjeson.
 * @Description: TODO()
 * @Date:Created in 2019/1/5 8:31 PM.
 * @Modified By:
 */
public interface IRtcLoginDao {
    /**
     * 已连接
     */
    int RTC_STATUS_ONSUCCESS=1;
    /**
     * 断开连接
     */
    int RTC_STATUS_DISCONNECT=0;
    //登录成功
    int RTC_LOGIN_SUCCESS=1;


    String RTC_USER_ID="userID";

    String RTC_USER_SIGN="userSig";

    String SDK_APP_ID="sdkAppID";

    String ACCOUNT_TYPE="accountType";

    String RTC_TOKEN = "rtc_room_token" ;

    void login(@NonNull final Context pContext, @NonNull final Map<String, Object> pMaps);
    /**
     * 执行callback的回调
     * @param pCallback
     */
    void setRtcLoginCallback(@NonNull IRtcLoginCallback pCallback);
}
